//
//  BaseNavigationController.swift
//  ModernFoodWebsite
//
//  Created by apple on 16/5/29.
//  Copyright © 2016年 Lonnie. All rights reserved.
//

import UIKit

class BaseNavigationController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        navigationBar.clipsToBounds = true
        self.interactivePopGestureRecognizer!.delegate = nil
        //self.navigationBar.setBackgroundImage(UIImage(fromColor: UIColor.clearColor(), rect: CGRectMake(0, 0, 100, 100)), forBarPosition:.Any, barMetrics: .Default)
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
